import Vue from "vue";
import Vuex from "vuex";

Vue.use(Vuex);

const store = new Vuex.Store({
    state: {
    	orderdetail:'',
    	ordernum:0,
    },
    mutations:{
    	getorderdetail:function(state,word){
    		this.state.orderdata=word
    	},
    }
})

export default store